<!DOCTYPE html>
<html>
<head>
    <title>Transform动画示例</title>
    <style>
        /*? 元素的初始样式 */
        .animated-element {
            width: 100px;
            height: 100px;
            background-color: #007bff;
            transition: transform 0.3s ease;
        }

        /*? 鼠标悬停时的样式 */
        .animated-element:hover {
            transform: scale(1.2);
        }
    </style>
</head>
<body>
<div class="animated-element"></div>
</body>
</html>
